.ap_appointment-page .adm-list-item-content{
    border-top: transparent;
}
.adm-button:not(.adm-button-default){
    border-color: transparent;
}
.adm-calendar-picker-view-cell.adm-calendar-picker-view-cell-today {
    color: #E8DCD2;
}

.adm-calendar-picker-view-cell.adm-calendar-picker-view-cell-selected.adm-calendar-picker-view-cell.adm-calendar-picker-view-cell-selected-end {
    background: #8D6E63;
}

.adm-button:not(.adm-button-default) {
    background: #8D6E63;
}

.adm-popup-body {
    padding-bottom: 50px;
}

.ap_form-list .ap_list-item {
    border-bottom: 0xp solid transparent;
}

/* 基础样式：统一全局样式和变量 */
:root {
    --primary-color: #8B5A2B;
    /* 木棕色（主色） */
    --primary-light: #F9F5F0;
    /* 宣纸白（背景色） */
    --primary-dark: #795548;
    /* 深棕色（悬停态） */
    --border-color: #E8DCD2;
    /* 边框色 */
    --text-color: #5D533C;
    /* 深褐（正文） */
    --text-light: #8D846B;
    /* 浅褐（辅助文本） */
    --discount-color: #FF672B;
    /* 折扣红色 */
    --success-color: #00B42A;
    /* 成功绿色 */
    --warning-color: #FF7D00;
    /* 警告橙色 */
}

/* 预约页面整体样式 */
.ap_appointment-page {
    font-family: '"Noto Serif SC"', 'PingFang SC', system-ui, sans-serif;
    background-color: var(--primary-light);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
    overflow-y: auto;
    background-blend-mode: overlay;
    background-attachment: fixed;
}

/* 顶部导航：优化布局和点击区域 */
.ap_detail-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 16px;
    box-shadow: 0 2px 4px rgba(139, 90, 43, 0.05);
}

.ap_header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 1px 2px rgba(139, 90, 43, 0.1);
}

.ap_back-btn {
    padding: 0;
}

/* 步骤指示器 */
.ap_step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px;
    padding: 0 8px;
}

.ap_step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.ap_step-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.ap_step-text {
    font-size: 12px;
    color: var(--text-light);
}

.ap_step-line {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 8px;
}

.ap_step-active .ap_step-icon {
    background-color: var(--primary-color);
}

.ap_step-active .ap_step-text {
    color: var(--primary-color);
    font-weight: 500;
}

.ap_line-active {
    background-color: var(--primary-color);
}

/* 区域标题 */
.ap_section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 16px 12px;
    padding-left: 8px;
    border-left: 3px solid var(--primary-color);
}

/* 服务列表：优化卡片样式、新增标签和库存提示 */
.ap_service-list {
    margin: 12px 0;
}

.ap_service-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(141, 110, 99, 0.1);
    margin: 0 12px 12px;
    display: flex;
    gap: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.ap_service-item:hover {
    box-shadow: 0 4px 12px rgba(141, 110, 99, 0.15);
    transform: translateY(-2px);
}

.ap_service-selected {
    border: 2px solid var(--primary-color);
    background-color: rgba(139, 90, 43, 0.03);
}

.ap_service-img-container {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(141, 110, 99, 0.15);
    position: relative;
}

.ap_service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ap_service-img:hover {
    transform: scale(1.05);
}



.ap_service-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ap_service-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 6px 0;
}

.ap_service-desc-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ap_service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.ap_meta-text {
    display: flex;
    align-items: center;
}

.ap_price-group {
    display: flex;
    align-items: baseline;
}

.ap_meta-original-price {
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 8px;
    font-size: 12px;
}

.ap_meta-discount-price {
    color: var(--discount-color);
    font-weight: 600;
    font-size: 14px;
}

.ap_meta-stock {
    color: var(--text-light);
}

.ap_stock-warning {
    color: var(--warning-color);
}

/* 查看更多按钮 */
.ap_show-more-btn {
    width: 100%;
    color: var(--primary-color);
    font-size: 14px;
    padding: 8px 0;
    margin: 8px 0;
    text-align: center;
}

/* 表单区域：优化下拉交互、新增时段禁用状态 */
.ap_form-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(141, 110, 99, 0.1);
    margin: 0 12px 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
}

.ap_form-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
}

.ap_form-list .ap_list-item {
    --padding-horizontal: 0;
    --font-size: 15px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.ap_form-list .ap_list-item:last-child {
    border-bottom: none;
}

.ap_list-icon {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 8px;
}

.ap_picker-display {
    width: 100%;
    font-size: 15px;
    color: var(--text-color);
    padding: 8px 0;
    cursor: pointer;
}

.ap_options-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(141, 110, 99, 0.15);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px;
}

.ap_date-dropdown {
    padding: 8px;
}

.ap_time-dropdown {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
}

.ap_option-item {
    padding: 10px 16px;
    font-size: 15px;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.2s;
}

.ap_time-dropdown .ap_option-item {
    width: 33.333%;
    box-sizing: border-box;
    text-align: center;
    padding: 8px;
}

.ap_option-item:hover {
    background-color: var(--primary-light);
}

.ap_option-selected {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
}

.ap_option-disabled {
    color: var(--text-light);
    cursor: not-allowed !important;
    opacity: 0.7;
}

.ap_time-unavailable {
    font-size: 12px;
    color: var(--warning-color);
    display: block;
    margin-top: 2px;
}

.ap_no-time-options {
    padding: 16px;
    text-align: center;
    color: var(--text-light);
}

.ap_option-today {
    position: relative;
}

.ap_today-tag {
    position: absolute;
    right: 16px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 0 4px;
    border-radius: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.ap_option-tomorrow {
    background-color: #f5f5f5;
}

.ap_input {
    flex: 1;
    font-size: 15px;
    color: var(--text-color);
    padding: 8px 0;
    border: none;
    outline: none;
    background: transparent;
}

.adm-input-element {
    color: var(--text-light);
    font-size: 15px;
}

/* 订单摘要 */
.ap_order-summary {
    background-color: var(--primary-light);
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    font-size: 14px;
}

.ap_summary-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.ap_summary-label {
    color: var(--text-light);
}

.ap_summary-value {
    color: var(--text-color);
}

.ap_summary-total {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 4px;
    margin-top: 8px;
    border-top: 1px dashed var(--border-color);
    font-weight: 600;
}

.ap_total-value {
    color: var(--discount-color);
    font-size: 16px;
}

/* 信息文本 */
.ap_info-text {
    font-size: 12px;
    color: var(--text-light);
    margin: 8px 0 16px;
    display: flex;
    align-items: center;
}

/* 操作按钮区域 */
.ap_action-area {
    display: flex;
    justify-content: center;
    padding: 12px 20px;
}

.ap_submit-btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 0;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    background-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.ap_submit-btn:hover {
    background-color: #795548;
    box-shadow: 0 4px 8px rgba(141, 110, 99, 0.25);
    transform: translateY(-2px);
}

.ap_submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 响应式适配（小屏手机） */
@media (max-width: 375px) {
    .ap_service-item {
        flex-direction: column;
        align-items: center;
    }

    .ap_service-img-container {
        width: 100%;
        height: 140px;
    }

    .ap_service-desc {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .ap_time-dropdown .ap_option-item {
        width: 50%;
    }
}